// 电子签章-查询条件配置
export const formOptionQuarter = {
    size: 'mini',
    inline: true,
    labelWidth: '160px',
    itemData: [
        {
            type: 'input',
            prop: 'prjName',
            value: '',
            width: '',
            colSpan: 6,
            clearable: true,
            label: '涉及项目：'
        },
        {
            type: 'input',
            prop: 'supplierName',
            value: '',
            width: '',
            colSpan: 6,
            clearable: true,
            label: '涉及供应商：'
        },
        {
            type: 'datePicker',
            prop: 'taskYear',
            value: new Date().getFullYear().toString(),
            format: 'yyyy',
            width: '',
            colSpan: 6,
            valueFormat: 'yyyy',
            clearable: true,
            dateType: 'year',
            label: '任务年份：'
        },
        {
            type: 'select',
            prop: 'taskQuarter',
            value: '',
            width: '',
            colSpan: 6,
            label: '任务季度：',
            dicType: 'SIG_TASK_QUARTER',
            clearable: true,
            dicProp: {
                label: 'dictName',
                value: 'dictId'
            }
        },
        {
            type: 'select',
            prop: 'processType',
            value: '',
            width: '',
            colSpan: 6,
            label: '流程类型：',
            dicType: 'SIG_PROCESS_TYPE',
            dicProp: {
                label: 'dictName',
                value: 'dictId'
            }
        },
        {
            type: 'select',
            prop: 'nodeId',
            value: '',
            width: '',
            colSpan: 6,
            label: '当前环节：',
            dicType: 'SIG_NODE',
            clearable: true,
            dicProp: {
                label: 'dictName',
                value: 'dictId'
            }
        }
    ]
}
export const formOptionMonth = {
    size: 'mini',
    inline: true,
    labelWidth: '160px',
    itemData: [
        {
            type: 'input',
            prop: 'prjName',
            value: '',
            width: '',
            colSpan: 6,
            clearable: true,
            label: '涉及项目：'
        },
        {
            type: 'input',
            prop: 'supplierName',
            value: '',
            width: '',
            colSpan: 6,
            clearable: true,
            label: '涉及供应商：'
        },
        {
            type: 'datePicker',
            prop: 'taskYear',
            value: new Date().getFullYear().toString(),
            format: 'yyyy',
            width: '',
            colSpan: 6,
            valueFormat: 'yyyy',
            clearable: true,
            dateType: 'year',
            label: '任务年份：'
        },
        {
            type: 'select',
            prop: 'taskMonth',
            value: '',
            width: '',
            colSpan: 6,
            label: '任务月份：',
            dicType: 'month',
            clearable: true,
            dicProp: {
                label: 'dictName',
                value: 'dictId'
            }
        },
        {
            type: 'select',
            prop: 'processType',
            value: '',
            width: '',
            colSpan: 6,
            label: '流程类型：',
            dicType: 'SIG_PROCESS_TYPE',
            dicProp: {
                label: 'dictName',
                value: 'dictId'
            }
        },
        {
            type: 'select',
            prop: 'nodeId',
            value: '',
            width: '',
            colSpan: 6,
            label: '当前环节：',
            dicType: 'SIG_NODE',
            clearable: true,
            dicProp: {
                label: 'dictName',
                value: 'dictId'
            }
        }
    ]
}
// 电子签章-列表表头配置
export const colOption = []

// 电子签章-列表按钮配置
export const btnOption = [
    { label: '新增', fun: 'insert', type: '' }
]

// 表格配置
export const tableOptionQuarter = [
    { label: '年份', width: '', prop: 'taskYear' },
    { label: '季度', width: '', prop: 'taskQuarter', dicType: 'SIG_TASK_QUARTER', dicProp: { label: 'dictName', value: 'dictId' }},
    { label: '任务名称', width: '390', prop: 'taskName' },
    { label: '当前环节', width: '', prop: 'nodeName' },
    { label: '流程类型', width: '', prop: 'processType', dicType: 'SIG_PROCESS_TYPE', dicProp: { label: 'dictName', value: 'dictId' }},
    { label: '创建时间', width: '', prop: 'createTime' }
]
// dicType: 'SIG_NODE', dicProp: { label: 'dictName', value: 'dictId' }
export const tableOptionMonth = [
    { label: '年份', width: '', prop: 'taskYear' },
    { label: '月份', width: '', prop: 'taskMonth', dicType: 'month', dicProp: { label: 'dictName', value: 'dictId' }},
    { label: '任务名称', width: '390', prop: 'taskName' },
    { label: '当前环节', width: '', prop: 'nodeName' },
    { label: '流程类型', width: '', prop: 'processType', dicType: 'SIG_PROCESS_TYPE', dicProp: { label: 'dictName', value: 'dictId' }},
    { label: '创建时间', width: '', prop: 'createTime' }
]

